/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YesorPayPlanEnum extends StringEnum
{
    public static final String YES_VALUE = "10";
    public static final String NO_VALUE = "20";
    public static final String DIS_VALUE = "30";

    public static final YesorPayPlanEnum yes = new YesorPayPlanEnum("yes", YES_VALUE);
    public static final YesorPayPlanEnum no = new YesorPayPlanEnum("no", NO_VALUE);
    public static final YesorPayPlanEnum dis = new YesorPayPlanEnum("dis", DIS_VALUE);

    /**
     * construct function
     * @param String yesorPayPlanEnum
     */
    private YesorPayPlanEnum(String name, String yesorPayPlanEnum)
    {
        super(name, yesorPayPlanEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YesorPayPlanEnum getEnum(String yesorPayPlanEnum)
    {
        return (YesorPayPlanEnum)getEnum(YesorPayPlanEnum.class, yesorPayPlanEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YesorPayPlanEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YesorPayPlanEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YesorPayPlanEnum.class);
    }
}